package com.blb.zycommunity.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 访客邀请 
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
@TableName("zy_visitor")
@Data
@ApiModel(value = "ZyVisitor对象", description = "访客邀请 ")
public class ZyVisitor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private String visitorId;

    @ApiModelProperty("小区id")
    private String communityId;

    @ApiModelProperty("访客姓名")
    private String visitorName;

    @ApiModelProperty("访客手机号")
    private String visitorPhoneNumber;

    @ApiModelProperty("到访时间")
    private LocalDate visitorDate;

    @ApiModelProperty("创建人id")
    private Long createById;

    @ApiModelProperty("创建人openid")
    private String createByOpenId;

    @ApiModelProperty("创建者")
    private String createBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新者")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("备注")
    private String remark;

    @TableField(exist = false)
    private ZyCommunity zyCommunity;
}
